package com.shouhuobao.take.model;

import java.io.Serializable;

/**
 * Created by joker on 2017/5/27.
 * 快递公司信息
 */
public class PostCompanyBean implements Serializable {
    //希望返回一个字段来标记常用快递的对象
    //    private int id;//快递公司id
    private String code;//快递公司名称拼音  shentong
    private String name;//快递公司名称
    private String pinyinName;//拼音
    private int imageRes;//图片资源位置
    private String image;//对应的图片名字

    public PostCompanyBean() {

    }

    public PostCompanyBean(String companyName) {
        this.name = companyName;
    }

    public PostCompanyBean(String companyName, String pinyinName, String code, int imageRes) {
        this.name = companyName;
        this.pinyinName = pinyinName;
        this.code = code;
        this.imageRes = imageRes;
    }
    public PostCompanyBean(String companyName, String pinyinName, String code, String image) {
        this.name = companyName;
        this.pinyinName = pinyinName;
        this.code = code;
        this.image = image;
    }
    //    public int getId() {
    //        return id;
    //    }
    //
    //    public void setId(int id) {
    //        this.id = id;
    //    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getImageRes() {
        return imageRes;
    }

    public void setImageRes(int imageRes) {
        this.imageRes = imageRes;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPinyinName() {
        return pinyinName;
    }

    public void setPinyinName(String pinyinName) {
        this.pinyinName = pinyinName;
    }
}
